@charset "utf-8";

/*
 * Copyright 2008-2023 dexian.vip. All rights reserved.
 * Support: http://www.dexian.vip
 * License: http://www.dexian.vip/license
 *
 * Style - Base
 * Version: 1.0
 */
.admin.secondary main {
    margin: 0;
}

/* ---------- breadcrumb ---------- */
.breadcrumb {
    transition: box-shadow 0.3s, border-color 0.3s;
}

.breadcrumb:hover {
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.08);
    border-color: #d8d8d8;
}

.breadcrumb .iconfont {
    font-size: 0.875rem;
    color: #999999;
}

/* ---------- btn ---------- */
.btn .iconfont, .btn .fa {
    color: #999999;
}

/* ---------- panel ---------- */
.panel {
    transition: box-shadow 0.3s, border-color 0.3s;
    border-radius: 8px;
}

.panel:hover {
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.08);
    border-color: #d8e2ef;
}

.panel .panel-heading {
    padding: 10px;
    border-top-right-radius: 8px;
    border-top-left-radius: 8px;
    font-size: 14px;
    font-weight: bold;
}

.panel .panel-body {
    padding: 10px;
    background: #f9fafd;
}

.panel .panel-body.padding-10 {
    padding: 0 10px;
    background: #FFF;
}

.panel .panel-body.padding-5 {
    padding: 5px 5px;
    background: #FFF;
}

.panel .panel-footer {
    padding: 10px;
    border-bottom-right-radius: 8px;
    border-bottom-left-radius: 8px;
}

.panel .panel-footer .btn {
    margin-right: 15px;
}

.panel .panel-footer .pagination {
    margin: 0;
}

/* ---------- main ---------- */
main {
    margin: 70px 0 0 245px;
    transition: margin 0.5s;
}

/* ---------- main-header ---------- */
.main-header {
    height: 70px;
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 100;
    background-color: #eef3f9;
    padding: 15px 0;
}

.main-header .title {
    float: left;
    margin-top: -5px;
}

.main-header .title .desc {
    font-weight: bold;
    font-size: 32px;
    color: #2c7be5;
}

.main-header .title img {
    margin-top: -12px;
}

.main-header .search {
    width: 20%;
    float: left;
}

.main-header .search .search-box {
    display: flex;
    align-items: center;
    border: 1px solid #d8e2ef;
    height: 40px;
    border-radius: 20px;
    box-sizing: border-box;
    background: #FFF;
}

.main-header .search .search-box .iconfont {
    font-size: 14px;
    font-weight: bold;
    margin: 0 0 0 10px;
    color: #b6c1d2;
}

.main-header .search .search-box input {
    border: none;
    box-shadow: none;
    font-size: 14px;
    width: 80%;
}

.main-header .search .search-box:hover {
    border: 1px solid #96bdf2;
}


.main-header .main-sidebar-toggle {
    height: 40px;
    width: 40px;
    float: left;
    padding: 10px;
    margin: 0 15px;
    position: relative;
    color: #ffffff;
    transition: background-color 0.3s;
    border: 1px solid transparent;
    background-color: #d8e2ef;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-content: center;
    flex-direction: column;
}

.main-header .main-sidebar-toggle .icon-bar {
    width: 18px;
    height: 2px;
    display: block;
    border-radius: 1px;
    background-color: #5e6e82;
}

.main-header .main-sidebar-toggle .icon-bar + .icon-bar {
    margin-top: 4px;
}

.main-header .main-sidebar-toggle:hover {
    background-color: #d8e2ef;
}

.main-header .nav > li {
    float: left;
}

.main-header .nav > li > a {
    height: 40px;
    line-height: 40px;
    padding: 0 15px;
    color: #5e6e82;
    transition: background-color 0.3s;
}

.main-header .nav > li > a.logout:hover {
    background: #d8e2ef;
}

.main-header .nav > li > a > img {
    border-radius: 50%;
    width: 32px;
    height: 32px;
}

.main-header .nav > li > a:focus {
    background-color: transparent;
}

.main-header .nav > li > a:hover, .main-header .nav > li.open > a {
    background: none;
}

/* ---------- main-sidebar ---------- */
.main-sidebar {
    width: 230px;
    position: fixed;
    top: 70px;
    bottom: 0;
    left: 15px;
    z-index: 100;
    white-space: nowrap;
    transition: width 0.5s, transform 0.5s;
    background-color: #232e3c;
    border-radius: 6px;

}

.main-sidebar .search {
    padding: 10px;
    border-radius: 3px;
}

.main-sidebar .search input[type="text"], .main-sidebar .search .btn {
    height: 30px;
    color: #dddddd;
    transition: color 0.3s, background-color 0.3s;
    box-shadow: none;
    border-color: transparent;
    background-color: #555555;
}

.main-sidebar .search input[type="text"]:focus, .main-sidebar .search input[type="text"]:focus + .input-group-btn .btn {
    color: #999999;
    background-color: #ffffff;
}

.main-sidebar .panel-group {
    margin-bottom: 0;
}

.main-sidebar .panel-group .panel {
    margin-top: 0;
    border-radius: 0;
    border: none;
}

.main-sidebar .panel-group .panel .panel-heading {
    padding: 0;
    border-radius: 0;
    background: #333;
}

.main-sidebar .panel-group .panel .panel-heading a {
    display: block;
    padding: 12px;
    color: #ffffff;
    font-size: 13px;
    text-decoration: none;
    transition: border-color 0.3s, background-color 0.3s;
    border-left: 3px solid transparent;
    background-color: #333333;
}

.main-sidebar .panel-group .panel .panel-heading a:hover {
    border-left-color: #108ee9;
    background-color: #222222;
}

.main-sidebar .panel-group .panel .panel-heading a .icon-unfold {
    position: absolute;
    right: 10px;
}

.main-sidebar .panel-group .panel .panel-heading a[aria-expanded=true] {
    /*background-color: #108ee9;*/
    background-color: #666666;
}

.main-sidebar .panel-group .panel .panel-heading a[aria-expanded=true] .icon-unfold {
    transform: rotate(180deg);
}

.main-sidebar .panel-group .panel .panel-body {
    padding: 0;
    border: none;
}

.main-sidebar .panel-group .panel .list-group {
    margin-bottom: 0;
}

.main-sidebar .panel-group .panel .list-group-item {
    padding: 0;
    border-radius: 0;
    border: none;
}

.main-sidebar .panel-group .panel .list-group-item a {
    display: block;
    padding: 10px 10px 10px 15px;
    color: #dddddd;
    text-decoration: none;
    transition: color 0.3s, background-color 0.3s;
    background-color: #232e3c;
}

.main-sidebar .panel-group .panel .list-group-item a:hover {
    color: #ffffff;
    background-color: #555555;
}

.main-sidebar .panel-group .panel .list-group-item.active a {
    /*color: #ffffff;*/
    /*background-color: #666666;*/
    color: #108ee9;
}

.main-sidebar .panel-group .panel .list-group-item .label {
    position: absolute;
    right: 10px;
}

.main-sidebar > .list-group .list-group-item {
    padding: 0;
    border-radius: 0;
    border: none;
}

.main-sidebar > .list-group .list-group-item a {
    display: block;
    padding: 12px;
    color: #ffffff;
    transition: border-color 0.3s, background-color 0.3s;
    border-left: 3px solid transparent;
    background-color: #333333;
}

.main-sidebar > .list-group .list-group-item a:hover {
    border-left-color: #108ee9;
    background-color: #222222;
}

.main-sidebar > .list-group .list-group-item.active a {
    background-color: #108ee9;
}

.main-sidebar > .list-group .list-group-item.active .iconfont {
    color: #ffffff;
}

.main-sidebar > .list-group .list-group-item > p {
    padding: 12px 12px 12px 14px;
    color: #cccccc;
    background-color: #444444;
}

@media (min-width: 768px) {

    .main-sidebar-mini .main-sidebar {
        width: 50px;
        overflow: inherit !important;
    }

    .main-sidebar-mini .panel-group .panel:first-child {
        margin-top: 4px;
    }

    .main-sidebar-mini .main-sidebar .search, .main-sidebar-mini .main-sidebar .panel-heading span, .main-sidebar-mini .main-sidebar .panel-heading .icon-unfold, .main-sidebar-mini .main-sidebar .panel-collapse, .main-sidebar-mini .main-sidebar > .list-group .list-group-item span, .main-sidebar-mini .main-sidebar > .list-group .list-group-item > p {
        display: none;
    }


    .main-sidebar-mini .main-sidebar .panel:hover .panel-heading {
        width: 250px;
    }

    .main-sidebar-mini .main-sidebar .panel:hover .panel-heading span {
        display: inline;
        padding-left: 40px;
    }

    .main-sidebar-mini .main-sidebar .panel:hover .panel-collapse {
        width: 200px;
        display: block;
        position: absolute;
        left: 50px;
    }

    .main-sidebar-mini main {
        margin-left: 65px;
    }

    .main-sidebar-mini .main-sidebar-toggle .icon-bar {
        width: 16px;
        transition: width 0.5s, transform 0.5s;
    }

    .main-sidebar-mini .main-sidebar-toggle .icon-bar:nth-child(2) {
        width: 10px;
    }

}

@media (max-width: 767px) {

    .main-sidebar {
        transform: translate(-250px, 0px);
    }

    main {
        margin-left: 0;
    }

    .main-sidebar-expanded .main-sidebar {
        transform: translate(0px, 0px);
    }
}

/* ---------- no-result ---------- */
.no-result {
    height: 50px;
    line-height: 50px;
    color: #cccccc;
    text-align: center;
}

/* ---------- items ---------- */
.items {
    padding: 5px 0;
    margin: 0 -10px;
}

.items dt {
    width: 33.33%;
    float: left;
    clear: left;
    padding: 10px;
    color: #666666;
    font-weight: normal;
    text-align: right;
}

.items dd {
    width: 66.66%;
    float: left;
    padding: 10px;
    margin: 0;
    color: #666666;
}

.warning-tip {
    margin-top: 10px;
    width: 39.2%;
}